﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Reduce : Calculate
    {
        public int reduce { get; set; }
        public override void Cal()
        {
            reduce = A - B;

            Console.WriteLine("{0} - {1} = {2}",A,B, reduce);
        }
             
    }
}
